package cn.zlh.ht.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import jakarta.persistence.Entity;
import jakarta.persistence.Table;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

@Data
@Builder
@ApiModel(value = "合同模板")
public class Template implements Serializable {
    private String tableName;

    private String tableCN;

    private Map<String, String> fields;

    @ApiModelProperty(value = "关联合同主键")
    private String agreementId; // 存合同的主键
}
